package com.a2j.beans.car.sub_brand.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Author: bzb
 * Data: 2021/11/17 22:58
 * Desc: 子品牌详情出参VO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "子品牌属性")
public class CarSubBrandVO {

    @ApiModelProperty(value = "品牌id", required = true)
    private Integer brandId; // 品牌id

    @ApiModelProperty(value = "品牌名称")
    private String brandName; // 品牌名称

    @ApiModelProperty(value = "子品牌id", required = true)
    private Integer subBrandId; // 子品牌id

    @ApiModelProperty(value = "子品牌名称", required = true)
    private String subBrandName; // 子品牌名称

    @ApiModelProperty(value = "货源渠道 (1.平行进口 2.中规进口 3.国产)")
    private Integer sourceType; // 货源渠道 1.平行进口 2.中规进口 3.国产

    @ApiModelProperty(value = "货源渠道(中文)")
    private String sourceTypeStr;

    @ApiModelProperty(value = "开关状态 (0:关 1:开)")
    private Integer enable; // 开关

    @ApiModelProperty(value = "创建时间 (YYYY-MM-dd HH:mm:ss)")
    @JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss", timezone = "GM+8")
    private Date createTime; // 创建时间

    @ApiModelProperty(value = "备注")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String remark; // 备注

    @ApiModelProperty(value = "创建人")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String createrName; // 创建人

}
